<html>
<head>
	<title></title>
<style media="print" type="text/css">
.Noprint {
	display: none;
}

.PageNext {
	page-break-after: always;
}
</style>
</head>
<body>
<object id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0 ></object>
<div id="orderDetail" style="height:600px;overflow-y:auto;overflow-x:hidden;" >
<div style="text-align: center;" class="Noprint">
    <input type="button" value="打印预览(Only IE)" onclick="document.all.WebBrowser.ExecWB(7,1)" />
    <input type="button" value="打印设置(Only IE)" onclick="document.all.WebBrowser.ExecWB(8,1)" />
    <!--<input type="button" value="预览刷新" onclick="document.all.WebBrowser.ExecWB(21,1)" />
    <input type="button" value="Window.print打    印" onclick="javascript:window.print()" />-->
    <input name="printBtn" type="button" value="打印" />
</div>

<#list orderVoList as order> 
<div>
<h1><img alt="" src="" /></h1>

<table cellpadding="1" style="width:100%">
	<tbody>
		<tr height="20px">
			<td align="right">收 货 人：</td>
			<td>${order.consignee?if_exists}</td>
			<td align="right">订购日期：</td>
			<td style="">${order.orderTime?string("yyyy-MM-dd")}</td>
			<td rowspan="3"><img src="${base}${order.barCodeImgPath?if_exists}"></img></td>
			<td rowspan="3"><h1 style="font-size: 50px;">${order.rownum?if_exists}</h1></td>
		</tr>
		<tr height="20px">
			<td align="right">付款方式：</td>
			<td><!-- <#if order.paymentType==1> -->在线支付 <!-- </#if> --> <!-- <#if order.paymentType==2> --> 货到付款 <!-- </#if> --></td>
			<td align="right">拣货编号：</td>
			<td>${order.batchCode?if_exists}</td>
		</tr>
		<tr height="20px">
			<td align="right">收货地址：</td>
			<td>${order.fullAddress?if_exists}</td>
			<td align="right">发货编号：</td>
			<td>${order.deliveryCode?if_exists}</td>
		</tr>
	</tbody>
</table>

<table border="1" style="border-collapse:collapse; border-color:#000; width:100%">
	<tbody>
		<tr>
			<td style="text-align:center">商品编号名称 <!-- 商品名称 --></td>
			<td style="text-align:center">商品名</td>
			<td style="text-align:center">单价(元) <!-- 商品单价 --></td>
			<td style="text-align:center">数量<!-- 商品数量 --></td>
			<td style="text-align:center">金额（元） <!-- 价格小计 --></td>
		</tr>
		<!-- <#list order.getGoodsList() as item> -->
		<tr>
			<td style="text-align:center">&nbsp;${item.skuCode?if_exists}</td>
			<td style="text-align:center">&nbsp;${item.skuName?if_exists}</td>
			<td style="text-align:center">${item.unitPrice?string.currency}&nbsp;</td>
			<td style="text-align:center">${item.quantity?if_exists}&nbsp;</td>
			<td style="text-align:center">${item.subtotalPrice?string.currency}&nbsp;</td>
		</tr>
		<!-- </#list> -->
		<tr><!-- 发票抬头和发票内容 -->
			<td colspan="3">&nbsp;</td>
			<!-- 商品总金额 -->
			<td colspan="2" style="text-align:right">&nbsp;</td>
		</tr>
	</tbody>
</table>

<table border="0" style="width:100%">
	<tbody>
		<tr>
			<td style="text-align:right"><!-- 配送费用 --></td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

<table border="0" style="width:100%">
	<tbody>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
		</tr>
		<tr><!-- 支付备注 -->
			<td style="text-align:right">购物明细单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
			服务热线：300-779-6666<br />
			www.gionee.com&nbsp;&nbsp;&nbsp;&nbsp;</td>
		</tr>
	</tbody>
</table>
</div>
<#if order_index < orderVoList.size()-1>
<br class="PageNext"/>
</#if>
</#list>

<div style="text-align: center;" class="Noprint">
    <input type="button" value="打印预览(Only IE)" onclick="document.all.WebBrowser.ExecWB(7,1)" />
    <input type="button" value="打印设置(Only IE)" onclick="document.all.WebBrowser.ExecWB(8,1)" />
    <!--<input type="button" value="预览刷新" onclick="document.all.WebBrowser.ExecWB(21,1)" />
    <input type="button" value="Window.print打    印" onclick="javascript:window.print()" />-->
    <input name="printBtn" type="button" value="打印" />
</div>

<script type="text/javascript">
    $(":input[name='printBtn']").bind("click",function(){
         $.printBox('orderDetail');
    });
</script></body>
</html>
